package org.despair2D.ui.events 
{
	import flash.events.Event;

public class InteractiveEvent extends Event
{
	
	public function InteractiveEvent(type:String, interactive:Boolean, bubbles:Boolean=false, cancelable:Boolean=false) 
	{ 
		super(type, bubbles, cancelable);
		this.interactive = interactive;
	} 
	
	
	/** 交互状态变化 **/
	public static const INTERACTIVE_CHANGE:String = 'interactiveChange';
	
	
	public override function clone():Event 
	{ 
		return new InteractiveEvent(type, bubbles, cancelable);
	} 
	
	public override function toString():String 
	{ 
		return formatToString("InteractiveEvent", "type", "bubbles", "cancelable", "eventPhase"); 
	}
	
	
	public var interactive:Boolean;	
}
}